package edu.hubu.talentmanagementsystem.model.ext;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import edu.hubu.talentmanagementsystem.model.Model;

import java.io.Serializable;

/**
 * <p>
 * 工作类型表
 * </p>
 *
 * @author moonlan
 * @since 2021-03-13
 */
@TableName("work_type")
public class WorkType extends Model<WorkType> implements Serializable {


    /**
     * 工作类型ID
     */
    @TableId(value = "work_type_id", type = IdType.AUTO)
    private Integer workTypeId;

    /**
     * 工作类型名称
     */
    @TableField("work_type_name")
    private String workTypeName;

    public Integer getWorkTypeId() {
        return workTypeId;
    }

    public WorkType setWorkTypeId(Integer workTypeId) {
        this.workTypeId = workTypeId;
        return this;
    }

    public String getWorkTypeName() {
        return workTypeName;
    }

    public WorkType setWorkTypeName(String workTypeName) {
        this.workTypeName = workTypeName;
        return this;
    }

    @Override
    public String toString() {
        return "WorkType{" +
                "workTypeId=" + workTypeId +
                ", workTypeName=" + workTypeName +
                "}";
    }
}
